package com.mms.service;

import com.fasterxml.jackson.core.TreeNode;
import com.mms.entity.model.JsonData;
import com.mms.entity.model.PagerTool;
import com.mms.entity.service.EntityService;
import com.mms.pojo.SysManager;
import com.mms.pojo.SysMenu;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * Created by dangz on 2017/5/21/021.
 */
public interface SysMenuService extends EntityService<SysMenu> {
    List<SysMenu> listRoot();
    List<Map<String, Object>> getMenuExclude(Long menuid);
    List<SysMenu> getChildMenuInPermission(Long menuid, Long accountid);
    List<SysMenu> getChildMenuInPermissionByRole(Long menuid, String role);
    void setOrder(Long id, Long order);
    void resetOrder();
    JsonData getList(PagerTool pt, HttpServletRequest req);
}
